import { get, post, put, del, streamReaderPost } from '@/utils/request'

export const getTodayOilPrice = async () => {
    try {
        const response = await get<any>('/oilPrice/today');
        return response;
    } catch (error) {
    }
};

// 定义油价数据的类型
export interface OilPrice {
    pullDate: string;
    area: string;
    p98: number;
    p95: number;
    p92: number;
    p0: number;
    p10: number;
    p20: number;
    p35: number;
}